package org.jeecg.modules.flower.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 销售系统接口实体
 * @Author: drt
 * @Date:   2023-01-03
 * @Version: V1.0
 */
@Data
@ApiModel(description="销售系统接口实体")
public class Xsgl implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**用户id*/
	@ApiModelProperty(value = "用户id")
	private String userId;
	/**订单号*/
	@ApiModelProperty(value = "订单号")
	private String outNo;
	/**订单金额*/
	@ApiModelProperty(value = "订单金额")
	private BigDecimal outAmount;
	/**结算金额*/
	@ApiModelProperty(value = "结算金额")
	private BigDecimal settAmount;
	/**订单时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "订单时间")
	private Date outTime;
	/**结算时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "结算时间")
	private Date settTime;
	/**业务员*/
	@ApiModelProperty(value = "业务员")
	private String businessPersion;
	/**是否开票（是/否）*/
	@ApiModelProperty(value = "是否开票（是/否）")
	private String isInvoice;
	/**订单类型，0:先款后货，1：先货后款, 2：销售后台下单*/
	@ApiModelProperty(value = "订单类型，0:先款后货，1：先货后款, 2：销售后台下单")
	private String outType;
	/**销售单号*/
	@ApiModelProperty(value = "销售单号")
	private String sealNo;
}
